package com.hdax.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hdax.entity.CusDrive;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 试驾表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-03-22
 */
public interface CusDriveService extends IService<CusDrive> {
    IPage<CusDrive> findCusDriveNotHandle(IPage<?> page, Map map);
    Integer updateCusDriveCancel(Integer id,String updateTime);
    IPage<CusDrive> findCusDriveIsHandle(IPage<?> page, Map map);
    Integer updateIDCardSource(String IDCardSource,  Integer id);
    Integer updateDriveCardSource(String driveCardSource,Integer id);
    Integer updateNotes(String notes,Integer id,String updateTime);
    Integer findThisMonthCusDriveCount();
    Integer findCusDriveCount();
    Float findCusDriveChainCompare();
    Map findThisYearCusDriveIncre();

}
